 <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
</head>
<body>
	<div id="div1">
		<ul>
			<li v-for="value,key in user" :key="value.id">{{value.name}}</li>
			<li v-for="i in n">{{i}}</li>
		</ul>
	</div>
	
	<script type="text/javascript">
		let vm = new Vue({
			el:'#div1',
			data:{
				n:50,
				user:[
					{id:1,name:'w'},
					{id:2,name:'k'}
				]
			},
			methods:{
				add(){
					this.b = !this.b
				}
			}
		});
	</script>
</body>
</html>